package com.ferry.transport.netty.consumer;

import com.ferry.protocol.payload.ResponsePayload;
import com.ferry.transport.netty.provider.RespWrapper;

/**
 * Created by daiyong
 */
public class Response {
	private ResponsePayload responsePayload;
	private RespWrapper respWrapper;

	public Response() {
	}

	public Response(long id) {
		responsePayload = new ResponsePayload(id);
	}

	public ResponsePayload getResponsePayload() {
		return responsePayload;
	}

	public void setResponsePayload(ResponsePayload responsePayload) {
		this.responsePayload = responsePayload;
	}

	public RespWrapper getRespWrapper() {
		return respWrapper;
	}

	public void setRespWrapper(RespWrapper respWrapper) {
		this.respWrapper = respWrapper;
	}
}
